import lazyLoad from "@/hooks/lazyLoad";
import React from "react";
import Layout from "antd/es/layout/layout";

const Home=[
    {
        element:<Layout/>,
        children:[
            {
                path:'/sys/user/list',
                element:lazyLoad(React.lazy(()=>import('@/pages/user/list')))
            },
            {
                path:'/sys/user/add',
                element:lazyLoad(React.lazy(()=>import('@/pages/home/modules/add/add')))
            }
        ]
    }
]
export default Home